<div id="modchuyenkhoa" class="module">
	<div class="module-title">
		<div class="titleL"></div>
		<div class="titleC">
			<h3 class="title-main-content">Chuyen khoa</h3>
		</div>
		<div class="titleR"></div>
	</div>
	<div class="module-content">
		<div class="module-content-inner clear">
            <?php 
            $i = 0;
            foreach($chuyenkhoa as $key=> $value){
                if($i%6 == 0){
                    if($i != 0) echo '</div>'; 
                    echo '<div class="rowcontent">';
                }
                $i++;?>
                
                
    				<div class="bgchuyenkhoa">
    					<div class="chuyenkhoa">
    						<img src="<?php echo base_url().$value->image ?>" alt="<?php echo $value->chuyenkhoa;?>"/>
    						<a href="<?php echo base_url().'mod_chuyenkhoa/danhsachbenh/'.$value->id ?>" class="chuyenkhoagroup fancybox.ajax"><p class="name"><?php echo $value->chuyenkhoa ?></p></a>
    					</div>
    				</div>
            <?php    }  ?>
            </div>
		</div>
	</div>
	
	
</div>